package com.spddr.pmos.jpa;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import cn.seqdata.jpa.JpaType;

@Entity
@Table(name = "object_type")
public class ObjectType extends JpaType {
	private static final long serialVersionUID = 1L;

	private String icon;
	private String clazz;

	public ObjectType() {
		super();
	}

	public ObjectType(Integer id) {
		super(id);
	}

	public ObjectType(Integer id, String name) {
		super(id, name);
	}

	@Column(name = "icon")
	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	@Column(name = "clazz")
	public String getClazz() {
		return clazz;
	}

	public void setClazz(String clazz) {
		this.clazz = clazz;
	}
}